<!-- include tpl=header title=搜索结果 -->
<section class="bg-light p-5 bg-default">
	<h1 class="p-4 text-center">{$keywords}</h1>
</section>
<section><!-- include tpl=block/breadcrumb --></section>
<section class="container">
	<ul class="list-group list-group-flush">
		<!-- loop from=$rslist key=$key value=$value id=$tmpid -->
		<li class="list-group-item">
			<div class="d-flex">
				<!-- if $value.thumb -->
				<div class="flex-shrink-0">
					<a href="{$value.url}" title="{$value.title}"><img src="{$value.thumb.gd.thumb}" class="align-self-start mr-3" alt="{$value.title}" width="80" /></a>
				</div>
				<!-- /if -->
				<div class="flex-grow-1 ms-3">
					<a href="{$value.url}" title="{$value.title}"><h5 class="mt-0 mb-1">{$value.title}</h5></a>
					<div class="text-body mt-1">
						<a href="{$value.cate.url}" title="{$value.cate.title}"><span class="badge badge-light">{$value.cate.title}</span></a>
						{$value.note ? phpok_cut($value.note,120,'…') : phpok_cut($value.content,120,'…')}
					</div>
					<!-- if $value.tag -->
					<small class="d-block mt-1">
						标签：
						<!-- loop from=$value.tag key=$k value=$v id=$idxx -->
						{$v.html}<!-- if $idxx.total != $idxx.num -->，<!-- /if -->
						<!-- /loop -->
					</small>
					<!-- /if -->
				</div>
			</div>
		</li>
		<!-- /loop -->
	</ul>
	<!-- include tpl=block/pagelist -->
</section>
<!-- include tpl=footer -->